/*!
 * vinculum
 * Copyright(c) 2017 azzly
 * MIT Licensed
 */
 
'use strict';

class column{
  constructor(name,type,len,def){
    this.name = name;
    this.type = type;
    this.len = len;
    if(typeof def === 'number'){
      this.def = def;
    }else if(!def){
      this.def = 'null';
    }else{
      this.def = def;
    }
  }
}

module.exports = column;